package com.github.ilioili.justdoit.util;

import android.support.v4.widget.SwipeRefreshLayout;

import com.github.ilioili.justdoit.R;


public class SwipeRefreshLayoutUtil {

    public static void initStyle(SwipeRefreshLayout swipeRefreshLayout) {
        if (swipeRefreshLayout != null) {
            swipeRefreshLayout.setColorSchemeResources(
                    R.color.colorAccent,
                    R.color.colorPrimary,
                    android.R.color.black,
                    R.color.colorPrimaryDark);
        }
    }

}